package com.wyg.scg;

import java.util.Set;

public class Student {

	private int id;
	private String name;
	private Grade grade;
	private Set<Course> courses;
	
	public Grade getGrade() {
		return grade;
	}

	public void setGrade(Grade grade) {
		this.grade = grade;
	}

	public Set<Course> getCourses() {
		return courses;
	}

	public void setCourses(Set<Course> courses) {
		this.courses = courses;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Student() {
		super();
	}

	public Student(String name, Grade grade, Set<Course> courses) {
		super();
		this.name = name;
		this.grade = grade;
		this.courses = courses;
	}

	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", grade=" + grade + ", courses=" + courses + "]";
	}
	
	


	
	
}
